package com.rc.saas.tenant.service.msg;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseSearch;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.msg.TenantNoticeMapper;
import com.rc.saas.tenant.model.msg.TenantNotice;
import com.rc.saas.tenant.model.msg.TenantNoticeExample;
import com.rc.saas.tenant.search.msg.TenantNoticeSearch;

/**
 * @author frog
 * @date 2019/12/17
 */
public interface TenantNoticeService extends BaseService<Long, TenantNotice, TenantNoticeExample, TenantNoticeMapper> {

    PageInfo<TenantNotice> pageTenantNotice(TenantNoticeSearch baseSearch);

    /**
     * 导出数据查询
     * @param tenantNoticeSearch
     * @return
     */
    PageInfo<TenantNotice> listTenantNotice(TenantNoticeSearch tenantNoticeSearch);
}
